dest=$(pwd)
lst=share.txt
cd /usr/share
# du -sh .[!.]*
#dots=$(echo .[!.]*)
#| sed "s/ /\n/g" 
find |grep Grey > $dest/$lst

mkdir -p $dest/share/
rm -rf $dest/share/.[!.]*
#cat $dest/iglist |grep -v "^#" |
#while read one; do 
#    sed -i "/$one/d" $dest/$lst # -e
#done

cat $dest/$lst
cat $dest/$lst |
while read one; do 
    echo "dealing: $one"
	dir=${one%/*}
	mkdir -p $dest/share/$dir
    cp -a $one $dest/share/$dir/
done

# TODO; same iglist of .config; ##fun_call_twice;
#rm -rf $dest/share/.config/{3T,baidunetdisk,blob,chromium,Code,Leanote,libreoffice,netease-cloud-music,pac}
du -sh $dest/share

